This document is about the DCS sample code. Here is a brief developer internal test for DCS SDK, here is the usage of this  tool:

1.sample_accel: 

this is a sample for accelerator API.

usage: sample_accel (-timer)( if use -timer, the app will exit after some time).

2.sample_battery: 

this is a sample to get battery information by using power management API

3.sample_cpuspeed: 

this is a sample to set CPU speed by using power management  API.

usage: sample_cpuspeed -cpuspeed 0(1,2,3)

4.sample_dpst

this is a sample to set dpst by using power management  API

usage: sample_dpst  -dpst 0(1,2)

5.sample_fnkey

this is a sample to  use  fnkey  API

sample_fnkey  (-timer) ( if use -timer, the app will exit after some time).

6.sample_lan

this is a sample to set lan speed by using power management  API

usage: sample_lan   -enablelan 0(1) -lanspeed 0(1,2,3,4,5)

7.sample_policy

this is a sample to use policy control API
usage: 1) set one policy

sample_policy  -sp  -group  set_group  -moduleid set_moduleid -opid set_opid   -action set_action

2) remove one policy

sample_policy  -rp  -group  set_group  -moduleid set_moduleid -opid set_opid   

3)set default policy 

sample_policy -dp

4)get one policy

sample_policy  -gp  -group  set_group  -moduleid set_moduleid -opid set_opid   

and the set/remove policy can only be operated in administrator account.

8.sample_pwr

this is a sample to  use  power scheme API

9.sample_tablet

this is a sample to  use  tablet  API

usage: sample_tablet  (-timer) ( if use -timer, the app will exit after some time).

